Skip to content

SpiderLabs/cve_server

Repository files navigation

CVEServer

Simple REST-style web service for the CVE searching.

Requirements

Getting Started

Install the CVE Server

You must have running ruby, git, mongodb and nginx in your local machine.

curl --ssl -s https://raw.githubusercontent.com/SpiderLabs/cve_server/master/scripts/install.sh | bash -

Using the API

Additional Information

Other installation method

  1. Clone our repository.
git clone https://github.com/SpiderLabs/cve_server.git
  1. Install the ruby dependencies.
bundle install
  1. Configure your database.
vi config/database.yml
  1. Download, create and populate the database for your environment from the National Vulnerability Database via the NVD CVE/CPE API. Note: The new API service is JSON only.
    NVD API URL.
RACK_ENV=development ./bin/nvd_download_and_seed
** The download may take hours to complete **
  1. Start the server.
RACK_ENV=development puma

License

CVEServer is released under the MIT License